package com.maiji.cloud;

import com.maiji.cloud.cfgbeans.RibbonAppLoginConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

@SpringBootApplication
@EnableEurekaClient  //本服务启动后会自动注册进eureka服务中
@RibbonClients(value = {
		@RibbonClient(name="MAIJICLOUD-APPLOGIN", configuration = RibbonAppLoginConfig.class),
})
public class Upload_Main {

	public static void main(String[] args) {
		SpringApplication.run(Upload_Main.class, args);
	}

}
